<template>
  <div>
    <span class="update-text">
      <span>
        数据更新时间:
      </span>
      <span>
        {{ $attrs.updateTime }}
      </span>
    </span>
    <span class="redo-type" @click="onRedo">
      <a-icon type="redo" />
    </span>
  </div>
</template>

<script>
export default {
  name: 'ExtraText',
  data() {
    return {
    }
  },
  mounted() {
  },
  props: {
    desText: String
  },
  methods: {
    onRedo() {
      this.$listeners.handleRefresh()
    }
  }
}
</script>

<style scoped lang="less">
.update-text {
  font-size: 0.13rem;
  font-weight: 400;
  color: #AAADB7
}
.redo-type {
  cursor: pointer;
}
</style>
